Repository navigation
mcpx: regenerate ops.gen.ts + generate it during the nix build - #4807
Conversation
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 24 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. CodeRabbit Verify
|
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
|
Verification round 1 (laptop, two full builds): the codegen mechanism is PROVEN — with the stale ops.gen.ts restored into the tree, internal/api still passes, because preCheck regenerates it in the build tree. But both builds fail one test: buildcheck's hand-named-package guard (regex over package.nix) trips on the preCheck's own |
|
Verification round 2 (laptop, two full builds): branch as-is is FULLY GREEN (zero failing tests — the first time this package's suite has been green from a current tree in this sequence), and the stale-file variant is STILL GREEN, proving the preCheck regeneration carries it. Merging; this closes #4806. |
Fixes #4806 two ways, so it cannot recur for nix consumers:
go testfreshness guard passes on the tree.Verification (laptop, full nix builds): this branch builds fully green; and the branch with ops.gen.ts reverted to the stale main copy ALSO builds green, proving the preCheck regeneration is what carries it.
Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.